package com.zhmsky.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author zhmsky
 * @date 2021/12/9 16:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Supplier {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String address;
    private String email;
    private String phone;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;
    private Integer sort;
    private String contact;
    @TableLogic
    private Integer delete;
    @Version
    private Integer version;
}
